package com.xiaotu.adapter.classadapter;

/**
 * @author 张晓
 * @create 2020-06-20 16:05
 */
//被适配的类
public class Voltage220V {
    //输出220V的电压
    public int output220V(){
        int src = 220;
        System.out.println("电压="+ src +"伏");
        return src;
    }
}
